{include file="header.tpl"}
<link href="{$smarty.const.CSS}css.css" type="text/css" rel="stylesheet" />

</head>
<BODY>
<div>
<table border="1px" >
<tr>
	<td>行程名称</td>
	<td>目的地</td>
	<td>时间</td>
	<td>人数</td>
	<td>出发地</td>
	<td>行程可用数量</td>
	<td>发布时间</td>
	<td>来源</td>
	<td>操作</td>
</tr>
{foreach $journey as $value}
<tr>
	<td>{$value.title}</td>
	<td>{$value.goplace}</td>
	<td>{$value.gotime}</td>
	<td>{$value.number}</td>
	<td>{$value.startplace}</td>
	<td>{$value.count}</td>
	<td>{$value.time}</td>
	<td>{$value.source}</td>
	<td><a href="journey.php?id={$value.id}">编辑</a>&nbsp;<a href="journey_del.php?id={$value.id}">删除</a></td>
</tr>
{/foreach}
</table>
</div>
<br/>
<div>
<table border="1px" >
<tr>
	<td>姓名(名称)</td>
	<td>电话1</td>
	<td>电话2</td>
	<td>联系地址</td>
	<td>email</td>
	<td>登记时间</td>
	<td>操作</td>
</tr>
{foreach $source as $value}
<tr>
	<td>{$value.name}</td>
	<td>{$value.phone1}</td>
	<td>{$value.phone2}</td>
	<td>{$value.address}</td>
	<td>{$value.email}</td>
	<td>{$value.time}</td>
	<td><a href="source.php?id={$value.id}">编辑</a>&nbsp;<a href="source_del.php?id={$value.id}">删除</a></td>
</tr>
{/foreach}
</table>
</div>
<a href="journey.php">添加行程</a><br/>
<a href="source.php">添加来源信息</a>


{include file="footer.tpl"}
